<?php $this->load->view('header') ?>

<!-- CONTENT -->
<div id="content">
<div class="column full">
		
		<div class="box">
		<div class="box-header">Tambah Pemeriksaan</div>
		<div class="box-content">
        <?php echo isAccess('klinik','pemeriksaan','view') ? anchor('klinik/pemeriksaan/view', '<span class="icon_text preview"></span>Daftar Pemeriksaan', 'class="button white"') : ''; ?>
        <br /><br />      
        
            <?php if (isset($errorMessage)) : ?>
            	<div class="notification <?php echo ((isset($isSuccess) && $isSuccess) ? 'success' : 'error');?>"><?php echo $errorMessage; ?></div>
	        <?php endif; ?>    	
	        
	        <?php //if (!(isset($isSuccess) && $isSuccess)) : ?>
            <?php  echo form_open('klinik/pemeriksaan/edit/id/'.get_data($uri,'id').'/time/' . time(),array('name'=>'formAddPemeriksaan','id'=>'formAddPemeriksaan','class'=>'frModalLoad'),array('kirim'=>'kirim')); ?>
            <table>
                <tr>
                    <td width="150">Nama</td>
                    <td>
                        <br /><?php echo form_input(array('name'=>'pemeriksaanNama','value'=>get_data($dataEdit,'pemeriksaanNama'), 'class'=> 'form-field full'));?>
                    </td>
                </tr>
                <tr>
                    <td>Harga</td>
                    <td>
                        <br /><?php echo form_input(array('name'=>'pemeriksaanHarga','value'=>get_data($dataEdit,'pemeriksaanHarga'), 'id'=>'pemeriksaanHarga',  'class'=>'form-field full'));?>
                    </td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>
                        <?php echo form_submit('submit','Simpan', 'class="button themed"');?>
                    </td>
                </tr>
            </table>
            </form>
            <br />
			<?php //endif;?>
			
          </div>
        </div>
      </div>
      <!-- End Widget-->
      
      <div class="clear"></div>
    </div>
  </div> 
  
<script src="<?php echo base_url();?>js/libs/jquery/mod/web/jquery.format-price.js" type="text/javascript"></script>
<script src="<?php echo base_url();?>js/libs/jquery/mod/web/jquery.alphanumeric.pack.js" type="text/javascript"></script>  
<script type="text/javascript">
<!--
jQuery(document).ready(function($){
	//Numeric
	$('#pemeriksaanHarga').priceFormat({
	    prefix: '',
	    thousandsSeparator: ',',
	    centsSeparator: '',
	    centsLimit: 0
	});
});
//-->
</script>    
<?php $this->load->view('footer') ?>